//
//  SelectContactTableViewHeadModel.h
//  OAProject
//
//  Created by yhj on 2017/3/10.
//  Copyright © 2017年 cdnunion. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SelectContactTableViewCellModel : NSObject

// 联系人名字
@property (nonatomic,copy)NSString *contactName;

@property(nonatomic,copy)NSString *user_name;

@property(nonatomic,copy)NSString *user_id;


// 记录是否选中
@property (nonatomic,assign)BOOL  isChoose;


-(instancetype)initSelectContactTableViewCellModelWithDic:(NSDictionary *)dic;


@end

@interface SelectContactTableViewHeadModel : NSObject

//  名字
@property (nonatomic,copy)NSString *name;

//  区头是否选中
@property (nonatomic,assign)BOOL  isChoose;

//  每个区的价格总和
@property (nonatomic,assign)NSInteger sectionTotalPrice;

// 每个区的选中所有的ID
@property(nonatomic,strong)NSString *ids;


//  记录选中的cell
@property (nonatomic,strong)NSMutableArray *recordCellModelSelected;

//  存放model
@property (nonatomic,strong)NSMutableArray *detailDateArr ;

// 记录选中的行
@property (nonatomic,assign)NSInteger  indexPathRow;

//  记录选中的区
@property (nonatomic,assign)NSInteger  indexPathSection;

-(instancetype)initSelectContactTableViewHeadModelWithDic:(NSDictionary *)dic;

@end

@interface SelectContactTableViewModel : NSObject

//  记录区是否被全选
@property (nonatomic,strong)NSMutableArray *recordArr;

// 存放model
@property (nonatomic,strong)NSMutableArray *headModelArr ;

+(instancetype)selectContactTableViewModelWithArr:(NSArray *)arr;

-(instancetype)initWithSelectContactTableViewModelWithArr:(NSArray *)arr;

@end
